Skip to content

Replace Assert annotations with attributes, remove Assert annotation configuration block #17196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

ker0x
Copy link
Contributor

@ker0x ker0x commented Aug 17, 2022

Following #17155, this one replace all Assert annotations!

@ker0x ker0x requested a review from xabbuh as a code owner August 17, 2022 15:30
@carsonbot carsonbot added this to the 6.0 milestone Aug 17, 2022
@ker0x ker0x force-pushed the feature/assert-attributes branch from f98f54b to eed27a0 Compare August 22, 2022 08:47
@@ -214,7 +184,7 @@ you can do the following:

.. configuration-block::

.. code-block:: php-annotations
.. code-block:: php-attributes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we should backport the addition of this code block to 5.4

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #17219

@wouterj
Copy link
Member

wouterj commented Aug 23, 2022

Wow, thanks for all your efforts on this annotation/attribute topic Romain!

@wouterj wouterj merged commit b2a9392 into symfony:6.0 Aug 23, 2022
wouterj added a commit that referenced this pull request Aug 23, 2022
This PR was merged into the 5.4 branch.

Discussion
----------

add missing attributes code block

see #17196 (comment)

Commits
-------

5dbab03 add missing attributes code block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants